import {remote} from 'electron'
import db from './db'

export default {
    save(json){
        return db.set('setting',json).write();
    },
    find(){
        return db.get('setting').value();
    }
}